3.39 \(\int \frac{d+\frac{e}{x^3}}{c+\frac{a}{x^6}+\frac{b}{x^3}} \, dx\)

Optimal. Leaf size=716 \[ \frac{\left (-\frac{-2 a c d+b^2 d-b c e}{\sqrt{b^2-4 a c}}+b d-c e\right ) \log \left (-\sqrt [3]{2} \sqrt [3]{c} x \sqrt [3]{b-\sqrt{b^2-4 a c}}+\left (b-\sqrt{b^2-4 a c}\right )^{2/3}+2^{2/3} c^{2/3} x^2\right )}{6 \sqrt [3]{2} c^{4/3} \left (b-\sqrt{b^2-4 a c}\right )^{2/3}}+\frac{\left (\frac{-2 a c d+b^2 d-b c e}{\sqrt{b^2-4 a c}}+b d-c e\right ) \log \left (-\sqrt [3]{2} \sqrt [3]{c} x \sqrt [3]{\sqrt{b^2-4 a c}+b}+\left (\sqrt{b^2-4 a c}+b\right )^{2/3}+2^{2/3} c^{2/3} x^2\right )}{6 \sqrt [3]{2} c^{4/3} \left (\sqrt{b^2-4 a c}+b\right )^{2/3}}-\frac{\left (-\frac{-2 a c d+b^2 d-b c e}{\sqrt{b^2-4 a c}}+b d-c e\right ) \log \left (\sqrt [3]{b-\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3 \sqrt [3]{2} c^{4/3} \left (b-\sqrt{b^2-4 a c}\right )^{2/3}}-\frac{\left (\frac{-2 a c d+b^2 d-b c e}{\sqrt{b^2-4 a c}}+b d-c e\right ) \log \left (\sqrt [3]{\sqrt{b^2-4 a c}+b}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3 \sqrt [3]{2} c^{4/3} \left (\sqrt{b^2-4 a c}+b\right )^{2/3}}+\frac{\left (-\frac{-2 a c d+b^2 d-b c e}{\sqrt{b^2-4 a c}}+b d-c e\right ) \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b-\sqrt{b^2-4 a c}}}}{\sqrt{3}}\right )}{\sqrt [3]{2} \sqrt{3} c^{4/3} \left (b-\sqrt{b^2-4 a c}\right )^{2/3}}+\frac{\left (\frac{-2 a c d+b^2 d-b c e}{\sqrt{b^2-4 a c}}+b d-c e\right ) \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{\sqrt{b^2-4 a c}+b}}}{\sqrt{3}}\right )}{\sqrt [3]{2} \sqrt{3} c^{4/3} \left (\sqrt{b^2-4 a c}+b\right )^{2/3}}+\frac{d x}{c} \]

[Out]

(d*x)/c + ((b*d - c*e - (b^2*d - 2*a*c*d - b*c*e)/Sqrt[b^2 - 4*a*c])*ArcTan[(1 -
 (2*2^(1/3)*c^(1/3)*x)/(b - Sqrt[b^2 - 4*a*c])^(1/3))/Sqrt[3]])/(2^(1/3)*Sqrt[3]
*c^(4/3)*(b - Sqrt[b^2 - 4*a*c])^(2/3)) + ((b*d - c*e + (b^2*d - 2*a*c*d - b*c*e
)/Sqrt[b^2 - 4*a*c])*ArcTan[(1 - (2*2^(1/3)*c^(1/3)*x)/(b + Sqrt[b^2 - 4*a*c])^(
1/3))/Sqrt[3]])/(2^(1/3)*Sqrt[3]*c^(4/3)*(b + Sqrt[b^2 - 4*a*c])^(2/3)) - ((b*d
- c*e - (b^2*d - 2*a*c*d - b*c*e)/Sqrt[b^2 - 4*a*c])*Log[(b - Sqrt[b^2 - 4*a*c])
^(1/3) + 2^(1/3)*c^(1/3)*x])/(3*2^(1/3)*c^(4/3)*(b - Sqrt[b^2 - 4*a*c])^(2/3)) -
 ((b*d - c*e + (b^2*d - 2*a*c*d - b*c*e)/Sqrt[b^2 - 4*a*c])*Log[(b + Sqrt[b^2 -
4*a*c])^(1/3) + 2^(1/3)*c^(1/3)*x])/(3*2^(1/3)*c^(4/3)*(b + Sqrt[b^2 - 4*a*c])^(
2/3)) + ((b*d - c*e - (b^2*d - 2*a*c*d - b*c*e)/Sqrt[b^2 - 4*a*c])*Log[(b - Sqrt
[b^2 - 4*a*c])^(2/3) - 2^(1/3)*c^(1/3)*(b - Sqrt[b^2 - 4*a*c])^(1/3)*x + 2^(2/3)
*c^(2/3)*x^2])/(6*2^(1/3)*c^(4/3)*(b - Sqrt[b^2 - 4*a*c])^(2/3)) + ((b*d - c*e +
 (b^2*d - 2*a*c*d - b*c*e)/Sqrt[b^2 - 4*a*c])*Log[(b + Sqrt[b^2 - 4*a*c])^(2/3)
- 2^(1/3)*c^(1/3)*(b + Sqrt[b^2 - 4*a*c])^(1/3)*x + 2^(2/3)*c^(2/3)*x^2])/(6*2^(
1/3)*c^(4/3)*(b + Sqrt[b^2 - 4*a*c])^(2/3))

_______________________________________________________________________________________

Rubi [A]  time = 3.49776, antiderivative size = 716, normalized size of antiderivative = 1., number of steps used = 15, number of rules used = 9, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.409 \[ \frac{\left (-\frac{-2 a c d+b^2 d-b c e}{\sqrt{b^2-4 a c}}+b d-c e\right ) \log \left (-\sqrt [3]{2} \sqrt [3]{c} x \sqrt [3]{b-\sqrt{b^2-4 a c}}+\left (b-\sqrt{b^2-4 a c}\right )^{2/3}+2^{2/3} c^{2/3} x^2\right )}{6 \sqrt [3]{2} c^{4/3} \left (b-\sqrt{b^2-4 a c}\right )^{2/3}}+\frac{\left (\frac{-2 a c d+b^2 d-b c e}{\sqrt{b^2-4 a c}}+b d-c e\right ) \log \left (-\sqrt [3]{2} \sqrt [3]{c} x \sqrt [3]{\sqrt{b^2-4 a c}+b}+\left (\sqrt{b^2-4 a c}+b\right )^{2/3}+2^{2/3} c^{2/3} x^2\right )}{6 \sqrt [3]{2} c^{4/3} \left (\sqrt{b^2-4 a c}+b\right )^{2/3}}-\frac{\left (-\frac{-2 a c d+b^2 d-b c e}{\sqrt{b^2-4 a c}}+b d-c e\right ) \log \left (\sqrt [3]{b-\sqrt{b^2-4 a c}}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3 \sqrt [3]{2} c^{4/3} \left (b-\sqrt{b^2-4 a c}\right )^{2/3}}-\frac{\left (\frac{-2 a c d+b^2 d-b c e}{\sqrt{b^2-4 a c}}+b d-c e\right ) \log \left (\sqrt [3]{\sqrt{b^2-4 a c}+b}+\sqrt [3]{2} \sqrt [3]{c} x\right )}{3 \sqrt [3]{2} c^{4/3} \left (\sqrt{b^2-4 a c}+b\right )^{2/3}}+\frac{\left (-\frac{-2 a c d+b^2 d-b c e}{\sqrt{b^2-4 a c}}+b d-c e\right ) \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{b-\sqrt{b^2-4 a c}}}}{\sqrt{3}}\right )}{\sqrt [3]{2} \sqrt{3} c^{4/3} \left (b-\sqrt{b^2-4 a c}\right )^{2/3}}+\frac{\left (\frac{-2 a c d+b^2 d-b c e}{\sqrt{b^2-4 a c}}+b d-c e\right ) \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{2} \sqrt [3]{c} x}{\sqrt [3]{\sqrt{b^2-4 a c}+b}}}{\sqrt{3}}\right )}{\sqrt [3]{2} \sqrt{3} c^{4/3} \left (\sqrt{b^2-4 a c}+b\right )^{2/3}}+\frac{d x}{c} \]

Antiderivative was successfully verified.

[In]  Int[(d + e/x^3)/(c + a/x^6 + b/x^3),x]

[Out]

(d*x)/c + ((b*d - c*e - (b^2*d - 2*a*c*d - b*c*e)/Sqrt[b^2 - 4*a*c])*ArcTan[(1 -
 (2*2^(1/3)*c^(1/3)*x)/(b - Sqrt[b^2 - 4*a*c])^(1/3))/Sqrt[3]])/(2^(1/3)*Sqrt[3]
*c^(4/3)*(b - Sqrt[b^2 - 4*a*c])^(2/3)) + ((b*d - c*e + (b^2*d - 2*a*c*d - b*c*e
)/Sqrt[b^2 - 4*a*c])*ArcTan[(1 - (2*2^(1/3)*c^(1/3)*x)/(b + Sqrt[b^2 - 4*a*c])^(
1/3))/Sqrt[3]])/(2^(1/3)*Sqrt[3]*c^(4/3)*(b + Sqrt[b^2 - 4*a*c])^(2/3)) - ((b*d
- c*e - (b^2*d - 2*a*c*d - b*c*e)/Sqrt[b^2 - 4*a*c])*Log[(b - Sqrt[b^2 - 4*a*c])
^(1/3) + 2^(1/3)*c^(1/3)*x])/(3*2^(1/3)*c^(4/3)*(b - Sqrt[b^2 - 4*a*c])^(2/3)) -
 ((b*d - c*e + (b^2*d - 2*a*c*d - b*c*e)/Sqrt[b^2 - 4*a*c])*Log[(b + Sqrt[b^2 -
4*a*c])^(1/3) + 2^(1/3)*c^(1/3)*x])/(3*2^(1/3)*c^(4/3)*(b + Sqrt[b^2 - 4*a*c])^(
2/3)) + ((b*d - c*e - (b^2*d - 2*a*c*d - b*c*e)/Sqrt[b^2 - 4*a*c])*Log[(b - Sqrt
[b^2 - 4*a*c])^(2/3) - 2^(1/3)*c^(1/3)*(b - Sqrt[b^2 - 4*a*c])^(1/3)*x + 2^(2/3)
*c^(2/3)*x^2])/(6*2^(1/3)*c^(4/3)*(b - Sqrt[b^2 - 4*a*c])^(2/3)) + ((b*d - c*e +
 (b^2*d - 2*a*c*d - b*c*e)/Sqrt[b^2 - 4*a*c])*Log[(b + Sqrt[b^2 - 4*a*c])^(2/3)
- 2^(1/3)*c^(1/3)*(b + Sqrt[b^2 - 4*a*c])^(1/3)*x + 2^(2/3)*c^(2/3)*x^2])/(6*2^(
1/3)*c^(4/3)*(b + Sqrt[b^2 - 4*a*c])^(2/3))

_______________________________________________________________________________________

Rubi in Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((d+e/x**3)/(c+a/x**6+b/x**3),x)

[Out]

Timed out

_______________________________________________________________________________________

Mathematica [C]  time = 0.0891591, size = 88, normalized size = 0.12 \[ \frac{d x}{c}-\frac{\text{RootSum}\left [\text{$\#$1}^6 c+\text{$\#$1}^3 b+a\&,\frac{\text{$\#$1}^3 b d \log (x-\text{$\#$1})-\text{$\#$1}^3 c e \log (x-\text{$\#$1})+a d \log (x-\text{$\#$1})}{2 \text{$\#$1}^5 c+\text{$\#$1}^2 b}\&\right ]}{3 c} \]

Antiderivative was successfully verified.

[In]  Integrate[(d + e/x^3)/(c + a/x^6 + b/x^3),x]

[Out]

(d*x)/c - RootSum[a + b*#1^3 + c*#1^6 & , (a*d*Log[x - #1] + b*d*Log[x - #1]*#1^
3 - c*e*Log[x - #1]*#1^3)/(b*#1^2 + 2*c*#1^5) & ]/(3*c)

_______________________________________________________________________________________

Maple [C]  time = 0.034, size = 67, normalized size = 0.1 \[{\frac{dx}{c}}+{\frac{1}{3\,c}\sum _{{\it \_R}={\it RootOf} \left ({{\it \_Z}}^{6}c+{{\it \_Z}}^{3}b+a \right ) }{\frac{ \left ( \left ( -bd+ce \right ){{\it \_R}}^{3}-ad \right ) \ln \left ( x-{\it \_R} \right ) }{2\,{{\it \_R}}^{5}c+{{\it \_R}}^{2}b}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((d+e/x^3)/(c+a/x^6+b/x^3),x)

[Out]

1/c*d*x+1/3/c*sum(((-b*d+c*e)*_R^3-a*d)/(2*_R^5*c+_R^2*b)*ln(x-_R),_R=RootOf(_Z^
6*c+_Z^3*b+a))

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \frac{d x}{c} + \frac{-\int \frac{{\left (b d - c e\right )} x^{3} + a d}{c x^{6} + b x^{3} + a}\,{d x}}{c} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((d + e/x^3)/(c + b/x^3 + a/x^6),x, algorithm="maxima")

[Out]

d*x/c + integrate(-((b*d - c*e)*x^3 + a*d)/(c*x^6 + b*x^3 + a), x)/c

_______________________________________________________________________________________

Fricas [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((d + e/x^3)/(c + b/x^3 + a/x^6),x, algorithm="fricas")

[Out]

Timed out

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((d+e/x**3)/(c+a/x**6+b/x**3),x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{d + \frac{e}{x^{3}}}{c + \frac{b}{x^{3}} + \frac{a}{x^{6}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((d + e/x^3)/(c + b/x^3 + a/x^6),x, algorithm="giac")

[Out]

integrate((d + e/x^3)/(c + b/x^3 + a/x^6), x)